﻿using AutoMapper;
using X23.Application.ExcelManagement.Dto;
using X23.Model.Excel;
using X23.Util.LinqUtil;

namespace X23.Application.AutoMapperConfigs
{
    public class CommonCfgs : Profile
    {
        public CommonCfgs()
        {
            //automapper泛型注册
            //https://docs.automapper.org/en/latest/Open-Generics.html
            CreateMap(typeof(PageData<>), typeof(PageData<>));


            CreateMap<TaskPerformance, TaskPerformanceDto>().ReverseMap();
        }
    }
}
